<?php if (!defined('THINK_PATH')) exit();?><!-- 头部 -->
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" />
<meta http-equiv="keywords" content="云衣定制、服装定制、定制平台、定制企业合作。" />

<!--[if lt IE 9]>
<script>(function(tags){for(var i=0; i<tags.length; i++)document.createElement(tags[i]);})(["article","aside","details","figcaption","figure","footer","header","hgroup","nav","section","video"]);</script>
<![endif]-->
<link href="/smfs/Public/home/css/global.css?v=1.0" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/common.css?v=1.0" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/popupdiv.css?v=1.0" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/brands.css" rel="stylesheet" type="text/css"/>
<link  href="/smfs/Public/home/css/idangerous.swiper.css" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/indexConsumer.css" rel="stylesheet" type="text/css">
<!--放在文件所有样式文件最末尾，保证规则的优先级-->
<title>xx定制</title>
<!-- <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script> -->

<script type="text/javascript" src="/smfs/Public/home/js/jquery.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/global.js"></script>
<!-- <script type="text/javascript" src="/smfs/Public/home/js/ueditor.config.js"></script>  --> 
<script type="text/javascript" src="/smfs/Public/home/js/ueditor.all.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.jqote2.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/popupdiv.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/formValidated.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.serializejson.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.easing.min.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.msgbox.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/firstPinYin.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/indexConsumer.js"></script>

</head>
<body class="index page_index newPage_index" style="background:#fcfcfc;width:100%;">
        <div style="width:100%;background:#333333;">
            <div id="naviBackWhite" class="naviBackWhite naviConsumer" style="width:1280px;margin:0 auto;">
            	<div class="container">
            		<div class="floatLeft colorCcc" >
            			欢迎来到xx定制网！
                        <!-- <a href="<?php echo U('home/login/index');?>" title="登录" class=" underLineHover colorYellow ">[登录]</a>
                        <a href="<?php echo U('home/login/reg');?>" title="注册" class="underLineHover colorYellow ">注册</a> -->
            		    <!-- <a href="javascript:;" class="servicePhone colorCcc">服务电话：020-399-36776</a> -->
            		</div>
            		<div class="floatRight">
            			<ul class="menu moveOn menuConsumer">
            				<li><a href="javascript:;" class="servicePhone colorCcc">预定电话：020-399-36776</a>
            					<!-- <ul class="subs borderBottomGray"
            						onMouseMove="changeClass('person','personon')"
            						onMouseOut="changeClass('person','')">
            						<li><a href="../../html/user/myOrderIthzs.html?0" title="我的订单"
            							class="menutext">我的订单</a></li>
            						<li><a href="../../html/user/checkBody.html" title="量体信息"
            							class="menutext">量体信息</a></li>
            						<li><a href="../../html/user/safetyIndex.html" title="安全设置"
            							class="menutext">安全设置</a></li>
            					</ul>--></li> 
            			</ul>
            			<!-- <div style="clear: both"></div> -->
            		</div>
            	</div>
            </div>
        </div>

<!-- 前端框架 -->
<link href="/smfs/Public/css/layui.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="/smfs/Public/layui.js"></script>

    <!-- 头部 -->
    <div class="consumerTop">
        <div class="container">
            <div class="index_consumerTopNav clearfix">
                <div class="consumerLogo fl paddingTop10"><a href="<?php echo U('home/index/index');?>"><img src="/smfs/Public/home/images/logo3.png" alt="" /></a></div>
                <div class="consumerBoxUl fr js_consumerUl">
                    <ul class="clearfix consumerUl consumerUlList">
                        <li id="index_consumerTop"><a href="<?php echo U('home/index/index');?>">首页</a></li>
                        <li id="yunyi_consumerTop"><a href="<?php echo U('home/Dingzhi/index',array('fz'=>1));?>">所有成品</a></li>
                        <li id="consult_consumerTop"><a href="<?php echo U('home/news/index');?>">时尚资讯</a></li>
                        <li id="demand_consumerTop"><a href="<?php echo U('home/xuqiu/index');?>">预约定制</a></li>
                    </ul> 
                </div>
            </div>
        </div>
    </div>
   <div class="container">
        <div class="clearfix patternContBox orderIndexContBox">
          <!-- 左边专区 -->
          <div class="fl orderIndex_C marginRight30">
            <div class="orderIndexBig">
              <div class="orderIndexPic js_orderIndexPic">
                <img src="/smfs<?php echo ($good["ori_img"]); ?>" height="790" width="560" alt="" id="firstProductPic"/>
              </div>
            </div>
          </div>

          <!-- 右边专区 -->
          <div class="fl orderIndex_L  marginRight20  shopMeasureCont_L" style="margin-left: 60px;">
            <div class="borderBottomGray" style="padding-bottom: 25px;">
              <span style="font-size: 16px;font-weight: bold;padding-left: 60px;">提交预定</span>
              <span style="font-size: 16px;font-weight: bold;padding-left: 60px;">量体</span>
              <span style="font-size: 16px;font-weight: bold;padding-left: 60px;">下单</span>
            </div>
            <div class="borderBottomGray measureMessageTil js_measureMessageTil" style="height: 400px;">
              <ul class="clearfix" id="dataWay">
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">商品货号： <span style="font-weight: 100;"><?php echo ($good["goods_id"]); ?></span></li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">商品分类： <span style="font-weight: 100;"><?php echo res_catname($good['cat_id']) ?></span>
                </li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">商品名称： <span style="font-weight: 100;"><?php echo ($good["goods_name"]); ?></span></li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">商品库存： <span style="font-weight: 100;"><?php echo ($good["goods_number"]); ?></span></li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">商品详情： <span style="font-weight: 100;"><?php echo (mb_substr(strip_tags(htmlspecialchars_decode($good["goods_desc"])),0,20,'utf-8')); ?>...</span></li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">上架时间： <span style="font-weight: 100;"><?php echo date('Y-m-d H:i:s',$good['add_time']) ?></span></li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">更新时间： <span style="font-weight: 100;"><?php echo date('Y-m-d H:i:s',$good['update_time']) ?></span></li>
                <li style="padding: 15px 0;font-size: 16px;font-weight: bold;">商品评论： <span style="font-weight: 100;"><?php echo ($count); ?>条</span>
                    <a href="javascript:;" class="js_pinglun" >&nbsp; &nbsp;去评论</a>
                </li>
              </ul>
            </div>

          <!-- 产品下单及信息 -->
            <div class="textAlignRight marginTop20">
              <div class="clearfix">
                  <p class="orderPeriod fr color666">生产周期：<span id="period">双方协商</span></p>
              </div>
              <p class="orderPriceP marginTop10  colorRed font30" id="priceContainer">￥<span id="productPrice"><?php echo ($good["shop_price"]); ?></span></p>
              <div style="height: 50px;margin-top: 25px;"><a href="javascript:;" class="indexLogInBtn js_smallLoginBtn" style="padding: 10px;background: #EBA524;color: #fff;">提交预定</a></div>
            </div>
          </div>
          <!-- 右边专区结束 -->
        </div>
   </div> 
   <!-- 详情 -->
   <!-- <div class="orderTopDetails marginBottom30">
      <div class="container">
        <div class="orderInDeTop">
          <span id="serveStatement">定制服务</span>
        </div>
      </div>
   </div> -->
   <!-- 定制使用说明、评论 -->
   <div class="container">
        <div id="serveStatementContainer">
            <section data-id="2097" class="v3editor" style="border: 0px none; padding: 0px;">
                <section class="layout" style="margin: 10px auto; text-align: center; position: static; color: inherit;">
                    <section style="display: inline-block; vertical-align: top; text-align: left; width: 100%; padding-left: 1em; color: inherit;"
                    data-width="100%">
                        <section style="margin-top: 0.3em; padding-bottom: 1em; color: rgb(255, 255, 255); text-align: center; border-color: rgb(85, 85, 85); background-color: rgb(198, 149, 221);"
                        data-bgless="lighten" data-bglessp="15%">
                            <section class="v3brush" style="padding: 10px; color: rgb(102, 102, 102); text-align: center; border: 0.2em solid rgb(166, 91, 203); display: inline-block; width: 100%; margin-top: -1em; margin-left: -1em; background-color: rgb(255, 255, 255);"
                            data-width="100%">
                                <span style="font-size: 36px; color: inherit;">
                                    <strong style="color: inherit;">商品评论</strong>
                                </span>
                            </section>
                        </section>
                    </section>
                </section>
            </section>
            <section data-id="2076" class="v3editor">
                <section style="text-align: left; margin-top: 1em; display: inline-block; color: inherit; background-color: rgb(254, 254, 254);">
                    <section style="color: inherit; display: inline-block;font-size:4em;line-height:0.6em; vertical-align: top; text-align: inherit; text-decoration: inherit;">
                        <section style="color: inherit;">
                            <span style="color: inherit; font-size: 16px;">
                                <img src="/smfs/Public/home/images/1484812113286041486.gif" style="float: left;">
                            </span>
                        </section>
                    </section>
                    <section style="display: inline-block; margin-left: 0.2em;text-align: left;color: inherit;width: 1277px;">
                    <?php if ($count == 0) { ?>
                        <div style="width: 600px;height: 50px;position: relative;left: 120px;top: -50px;">
                            <a href="javascript:;" class="js_pinglun" style="font-size: 24px;padding: 5px;text-decoration: underline;">该商品还没有评论 去评论...</a>
                        </div>
                    <?php } else { ?>
                        <?php foreach ($list as $k => $v) { ?>
                            <p style="color: inherit;">
                                <div style="width: 110px;height: 100px;float: left;border-right: 1px solid #efecec;">
                                    <p style="padding: 15px 30px;text-align: center;"><?php echo ($v["nick"]); ?></p>
                                    <p style="padding: 8px;font-size: 8px;text-align: center;"><?php echo ($v["ph_em"]); ?></p>
                                </div>
                                <div style="width: 100%;height: 100px;border: 1px solid #999;margin-bottom: 10px;">
                                    <p style="height: 60px;padding-top: 10px;">
                                        <span style="display: block;width: 1000px;"><?php echo (mb_substr(strip_tags(htmlspecialchars_decode($v["content"])),0,100,'utf-8')); ?>...</span>
                                    </p>
                                    <span style="float: right;padding-right: 80px;margin-top: -50px;"><?php echo ($k+'1'); ?></span>
                                    <p>
                                       <span><?php echo res_catname($v['cat_id']) ?></span>
                                       &nbsp; &nbsp;&nbsp; &nbsp;<span><?php echo ($v["goods_name"]); ?></span>
                                       &nbsp; &nbsp;&nbsp; &nbsp;<span><?php echo date('Y-m-d H:i:s',$v['commtime']) ?></span>
                                       <a href="javascript:;" class="dzan" style="position: absolute;right: 20%;" zan="<?php echo ($v['id']); ?>">赞 (<span class="rezan" style="color: red;"><?php echo ($v["zan"]); ?></span>)</a>
                                    </p>
                                </div>
                            </p>
                        <?php } ?>
                        <div style="margin: 0 auto;text-align: center;background: #FCFCFC;padding: 10px;"><?php echo ($page); ?></div>
                    <?php } ?>
                        <section data-id="1483" class="v3editor">
                            <section data-id="1923" class="v3editor">
                                <p style="text-align: right;height:56px; color: inherit;background:url(/smfs/Public/home/images/1484640250022048871.png) repeat-x bottom">
                                    <img src="/smfs/Public/home/images/1484640671792034927.png" style="float: right;vertical-align:bottom;">
                                    <span style="background-color: initial; color: inherit;"></span>
                                </p>
                            </section>
                        </section>
                    </section>
                </section>
            </section>
        </div>
        <p>
            <br>
        </p>
        <!-- 定制使用说明-->
        <div id="serveStatementContainer">
            <section data-id="2097" class="v3editor" style="border: 0px none; padding: 0px;">
                <section class="layout" style="margin: 10px auto; text-align: center; position: static; color: inherit;">
                    <section style="display: inline-block; vertical-align: top; text-align: left; width: 100%; padding-left: 1em; color: inherit;"
                    data-width="100%">
                        <section style="margin-top: 0.3em; padding-bottom: 1em; color: rgb(255, 255, 255); text-align: center; border-color: rgb(85, 85, 85); background-color: rgb(198, 149, 221);"
                        data-bgless="lighten" data-bglessp="15%">
                            <section class="v3brush" style="padding: 10px; color: rgb(102, 102, 102); text-align: center; border: 0.2em solid rgb(166, 91, 203); display: inline-block; width: 100%; margin-top: -1em; margin-left: -1em; background-color: rgb(255, 255, 255);"
                            data-width="100%">
                                <span style="font-size: 36px; color: inherit;">
                                    <strong style="color: inherit;">定制使用说明</strong>
                                </span>
                            </section>
                        </section>
                    </section>
                </section>
            </section>
            <section data-id="2076" class="v3editor">
                <section style="text-align: left; margin-top: 1em; display: inline-block; color: inherit; background-color: rgb(254, 254, 254);">
                    <section style="display: inline-block; margin-left: 0.2em;text-align: left;color: inherit;">
                        <p style="color: inherit;">
                            <strong style="color: inherit;">
                                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                                    <span style="font-family: 宋体; color: inherit;">
                                        &nbsp; &nbsp; 尊敬的xx定制贵宾，您好，感谢您对xx定制的关注！如果您曾定制过衣服，已经有自己的尺寸数据，请直接联系网站客服，他们会根据您历史数据并结合您目前的情况给到您最专业的建议。如果您是第一次定制衣服，请您联系网站客服，预约全国
                                    </span>
                                    43
                                    <span style="font-family: 宋体; color: inherit;">
                                        个城市上门量体服务，您也可以选择到店体验量体定制。
                                    </span>
                                </span>
                            </strong>
                        </p>
                        <section data-id="1483" class="v3editor">
                            <section data-id="1923" class="v3editor">
                                <p style="text-align: right;height:56px; color: inherit;background:url(/smfs/Public/home/images/1484640250022048871.png) repeat-x bottom">
                                    <img src="/smfs/Public/home/images/1484640671792034927.png" style="float: right;vertical-align:bottom;">
                                    <span style="background-color: initial; color: inherit;">
                                    </span>
                                </p>
                            </section>
                        </section>
                    </section>
                </section>
            </section>
            <section data-id="1909" class="v3editor">
                <section style="margin: 10px 0px; padding: 0px; display: inline-block; color: inherit;">
                    <section style="margin-top: -2px; padding: 0px; box-sizing: border-box; color: inherit; float: left; clear: none;">
                        <p style="margin: 0px; font-size: 18px; color: inherit; text-align: center; clear: none;">
                            <span style="font-size: 24px; color: inherit;">
                                <strong style="color: inherit;">
                                    全国预约定制城市 
                                    <span style="font-size: 14px; border-color: rgb(166, 91, 203); font-family: 宋体;">请联系网站客服，我们会安排专人上门量体服务）全国预约热线：400 888 8888</span>
                                </strong>
                            </span>
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">深圳</span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        石家庄
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        哈尔滨
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        长沙
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        天津
                    </span>
                    &nbsp;&nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        西安
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        北京
                    </span>
                    &nbsp;&nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        东莞
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        广州
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        惠州
                    </span>
                    &nbsp;&nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        济南
                    </span>
                    &nbsp;
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        苏州
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        郑州
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        常州
                    </span>
                    &nbsp;&nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        镇江
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        泰州
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        上海
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        邯郸
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        杭州
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        绍兴&nbsp;
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        重庆
                    </span>
                    &nbsp; &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        厦门
                    </span>
                    &nbsp;
                    <span style="font-family: 宋体; color: inherit;">
                        昆明
                    </span>
                </span>
            </p>
            <section data-id="1909" class="v3editor">
                <section style="margin: 10px 0px; padding: 0px; display: inline-block; color: inherit;">
                    <section style="margin-right: 15px; padding: 0px; box-sizing: border-box; float: left; display: inline-block; color: inherit;">
                        <section style="margin: 0px; padding: 0px; color: inherit;">
                            <section style="margin-right: 5px; padding: 0px; width: 7px; height: 10px; float: left; transform: skewX(45deg); color: inherit; background-color: rgb(0, 0, 0);"
                            data-width="7px">
                            </section>
                            <section style="margin-top: -3px; padding: 0px; width: 7px; height: 13px; float: left; transform: skewX(45deg); color: rgb(255, 255, 255); background-color: rgb(166, 91, 203);"
                            data-width="7px">
                            </section>
                        </section>
                        <section style="margin: 0px; padding: 0px; clear: both; color: inherit;">
                            <section style="margin-right: 5px; padding: 0px; width: 7px; height: 10px; float: left; transform: skewX(-45deg); color: inherit; background-color: rgb(0, 0, 0);"
                            data-width="7px">
                            </section>
                            <section style="margin-top: 0px; padding: 0px; width: 7px; height: 13px; float: left; transform: skewX(-45deg); color: rgb(255, 255, 255); background-color: rgb(166, 91, 203);"
                            data-width="7px">
                            </section>
                        </section>
                    </section>
                    <section style="margin-top: -2px; padding: 0px; box-sizing: border-box; color: inherit; float: left; clear: none;">
                        <span style="font-size: 24px; color: inherit;">
                            <strong style="color: inherit;">
                                定制小百科
                            </strong>
                        </span>
                    </section>
                </section>
            </section>
            <section data-id="1803" class="v3editor" style="border: 0px none; padding: 0px;">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                定制周期
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <strong style="color: inherit;">
                    <span style="font-size: 14px; font-family: 宋体; color: inherit;">
                        尊敬的贵宾，因为xx定制的每一件衣服都是国际大牌代工工厂定制。确保您心爱的宝贝衣服都是高品质出厂，所以我们精细到每一针每一线的工艺。
                    </span>
                </strong>
            </p>
            <p style="color: inherit;">
                <strong style="color: inherit;">
                    <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                        <span style="font-family: 宋体; color: inherit;">
                            回答正题：西服25天、衬衫15天、大衣夹克风衣20天、T恤5天、牛仔10天。
                        </span>
                    </span>
                </strong>
            </p>
            <section data-id="1803" class="v3editor">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                加急攻略
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <strong style="color: inherit;">
                    <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                        <span style="font-family: 宋体; color: inherit;">
                            尊敬的贵宾，如果您真遇到各种大事、喜事、要事，必须穿上这件专属于您的
                        </span>
                        “盔甲”，请您联系网站客服，协商好交付时间，我们一定竭尽全力帮您加急。
                    </span>
                </strong>
            </p>
            <section data-id="1803" class="v3editor">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                特殊说明
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <strong style="color: inherit;">
                    <span style="font-size: 14px; font-family: 宋体; color: inherit;">
                        尊敬的贵宾，为了给您定制一件完美合身的衣服，我们的工作人员必将一丝不苟、呕心沥血，有时甚至连夜加班。且，单件定制小到面料，大到生产，都是从您下单的那一刻起就安排了。所以，抱歉的通知您，xx定制不接受服装正在生产，还未出厂的任何退款申请，请原谅我们不得已的决定。
                    </span>
                </strong>
            </p>
            <section data-id="1483" class="v3editor">
                <section data-id="1923" class="v3editor">
                    <p style="text-align: right;height:56px; color: inherit;background:url(/smfs/Public/home/images/1484640250022048871.png) repeat-x bottom">
                        <img src="/smfs/Public/home/images/1484640671792034927.png" style="float: right;vertical-align:bottom;">
                    </p>
                </section>
                <p style="color: inherit;">
                    &nbsp; &nbsp;
                </p>
            </section>
            <p style="color: inherit;">
                <br>
            </p>
            <section data-id="1909" class="v3editor">
                <section style="margin: 10px 0px; padding: 0px; display: inline-block;">
                    <section style="margin-right:15px; padding:0; box-sizing:border-box; float:left; display:inline-block">
                        <section style="margin:0; padding:0">
                            <section style="margin-right:5px; padding:0; width:7px; height:10px; background-color:rgb(0,0,0); float:left; transform:skewX(45deg); -webkit-transform:skewX(45deg); -moz-transform:skewX(45deg); -ms-transform:skewX(45deg); -o-transform:skewX(45deg);"
                            data-width="7px">
                            </section>
                            <section style="margin-top:-3px; padding:0; width:7px; height:13px; background-color:rgb(195,55,55); float:left; clear: transform:skewX(45deg); -webkit-transform:skewX(45deg); -moz-transform:skewX(45deg); -ms-transform:skewX(45deg); -o-transform:skewX(45deg);"
                            data-width="7px">
                            </section>
                        </section>
                        <section style="margin:0; padding:0; clear:both">
                            <section style="margin-right:5px; padding:0; width:7px; height:10px; background-color:rgb(0,0,0); float:left; transform:skewX(-45deg); -webkit-transform:skewX(-45deg); -moz-transform:skewX(-45deg); -ms-transform:skewX(-45deg); -o-transform:skewX(-45deg);"
                            data-width="7px">
                            </section>
                            <section style="margin-top:0px; padding:0; width:7px; height:13px; background-color:rgb(195,55,55); float:left; clear: transform:skewX(-45deg); -webkit-transform:skewX(-45deg); -moz-transform:skewX(-45deg); -ms-transform:skewX(-45deg); -o-transform:skewX(-45deg);"
                            data-width="7px">
                            </section>
                        </section>
                    </section>
                    <section style="margin-top:-2px; padding:0; box-sizing:border-box; color:rgb(0,0,0); float:left; clear:none">
                        <p style=" margin:0;font-size:18px; color:rgb(0,0,0); text-align:center; clear:none">
                            <strong>
                                质量保证
                            </strong>
                        </p>
                    </section>
                </section>
            </section>
            <section data-id="1803" class="v3editor">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                质量控制
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （1）、我方严格按照客户确认的服装款式、面料完成，承诺一人一版，落实到每一道工序，确保高品质的服装符合国家、行业有关工艺技术标准（围度正负2CM、长度正负0.5CM，肩宽0.5CM）。
                    </span>
                </span>
                <br>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （2）、生产的服装达到国家优等品标准，面料，工艺，款式与客户要求的相同，客户自提供款式图，或样衣生产，请标注款式要求、工艺细节尺寸说明。
                    </span>
                </span>
            </p>
            <section data-id="1803" class="v3editor">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                细节把控
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （1）、在服装生产之前，xx定制平台下单的量体数据导入电脑，由版师调整版型及特体客户局部数据的精细处理，由我司自主研发知名软件博克电脑辅助设计系统根据选定的款式自动打版，形成单个客户的裁剪数据，再由博克裁剪系统进行自动裁剪。
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （2）、为了真正做到每一件服装产品成为高品质，高定位的高档服装，我司多年以来打破传统，采用“服装七分做，三分烫”的原理来生产，使服装在做的过程中就通过各种工艺的融合使服装得到了不断的定型，再经过不断的整烫后，使服装真正的经久耐穿，不易变形，达到高质量的水准。
                    </span>   
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （3）、注重每一个细微之处，如扣眼、袋位、领角均采用进口电脑专业化设备制作，整烫完成，做工精湛，品质一流，并且在整个缝制的过程中，采用全自动吊挂来完成输送传递工作，既提高了生产效能，又消除了制衣传递过程中造成的挤压皱折，为服装整体质量打下了坚实的基础。
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （4）、按照ISO9001质量体系的要求对服装的每一个部位，每个部位尺寸，每一处缝合均进行严格的检验，我们奉行“下一道工序就是客户”的质量理念来确保产品的合格，达到服装产品出库做工质量优等品。
                    </span>     
                </span>
            </p>
            <p style="color: inherit;">
                <br>
            </p>
            <section data-id="1909" class="v3editor">
                <section style="margin: 10px 0px; padding: 0px; display: inline-block;">
                    <section style="margin-right:15px; padding:0; box-sizing:border-box; float:left; display:inline-block">
                        <section style="margin:0; padding:0">
                            <section style="margin-right:5px; padding:0; width:7px; height:10px; background-color:rgb(0,0,0); float:left; transform:skewX(45deg); -webkit-transform:skewX(45deg); -moz-transform:skewX(45deg); -ms-transform:skewX(45deg); -o-transform:skewX(45deg);"
                            data-width="7px">
                            </section>
                            <section style="margin-top:-3px; padding:0; width:7px; height:13px; background-color:rgb(195,55,55); float:left; clear: transform:skewX(45deg); -webkit-transform:skewX(45deg); -moz-transform:skewX(45deg); -ms-transform:skewX(45deg); -o-transform:skewX(45deg);"
                            data-width="7px">
                            </section>
                        </section>
                        <section style="margin:0; padding:0; clear:both">
                            <section style="margin-right:5px; padding:0; width:7px; height:10px; background-color:rgb(0,0,0); float:left; transform:skewX(-45deg); -webkit-transform:skewX(-45deg); -moz-transform:skewX(-45deg); -ms-transform:skewX(-45deg); -o-transform:skewX(-45deg);"
                            data-width="7px">
                            </section>
                            <section style="margin-top:0px; padding:0; width:7px; height:13px; background-color:rgb(195,55,55); float:left; clear: transform:skewX(-45deg); -webkit-transform:skewX(-45deg); -moz-transform:skewX(-45deg); -ms-transform:skewX(-45deg); -o-transform:skewX(-45deg);"
                            data-width="7px">
                            </section>
                        </section>
                    </section>
                    <section style="margin-top:-2px; padding:0; box-sizing:border-box; color:rgb(0,0,0); float:left; clear:none">
                        <p style=" margin:0;font-size:18px; color:rgb(0,0,0); text-align:center; clear:none">
                            <strong>
                                售后无忧
                            </strong>
                        </p>
                    </section>
                </section>
            </section>
            <section data-id="1803" class="v3editor">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                售后说明
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="margin-right: 0px; margin-left: 0px; color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        如果您在xx定制网上的订单出现以下质量情况，可以在收到商品的7天内联系客服进行退货处理：
                    </span>
                </span>
            </p>
            <p style="margin-right: 0px; margin-left: 0px; color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    1.款式错误。如果您收到的成衣出现货不对版的情况，可以申请退货服务。
                </span>
            </p>
            <p style="margin-right: 0px; margin-left: 0px; color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    2.面料材质。如果您收到的成衣与商家寄给您的面料小样不一致，可以申请退货服务。
                </span>
            </p>
            <p style="margin-right: 0px; margin-left: 0px; color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    3.颜色花纹。由于每台显示器的分辨率、饱和度、亮度均有差异，因此您所看到的图片可能与成衣存在细微差异，属于正常现象。但如果您收到的成衣出现严重的色相差别或者花纹图案的错误，可以申请退货服务。相应款项会在收到商品后2个工作日内退还至顾客支付时的账号，并以邮件形式通知顾客，具体到账时间视各支付平台和银行的处理周期而定。
                </span>
            </p>
            <section data-id="1803" class="v3editor">
                <section style="border: none; margin-top: 0.8em; margin-bottom: 0.5em; text-align: center; padding-right: 6px; box-sizing: border-box; color: inherit;">
                    <section data-bglessp="10%" style="padding-bottom: 6px; display: inline-block; box-sizing: border-box; margin: 0px; color: rgb(255, 255, 255); background-color: rgb(25, 25, 25);">
                        <section class="wxqq-bg" style="padding: 5px 15px; margin-top: -6px; margin-right: -6px; margin-left: 6px; display: inline-block; vertical-align: top; font-size: 1.2em; font-family: inherit; text-decoration: inherit; color: inherit; border-color: transparent; box-sizing: border-box; background-color: rgb(226, 86, 27);">
                            <section style="box-sizing: border-box; padding: 0px; margin: 0px; color: inherit; border-color: rgb(226, 86, 27);">
                                退货、返修
                            </section>
                        </section>
                    </section>
                    <section style="width: 0px; height: 0px; clear: both; box-sizing: border-box; padding: 0px; margin: 0px; color: inherit;"
                    data-width="0px">
                    </section>
                </section>
            </section>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        我方配备专业经验丰富的产品人员，如贵方有任何问题需咨询、解答、培训的我司随时提供服务。在以下情况下包返修，包退（7-20个工作日内完成）
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （1）、产品在质量保期内发生掉纽扣、脱线、拉链损坏的；
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （2）、产品面料有4CM以上明显折痕且无法修复的；
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （3）、由我司负责产品在运输过程中，出现产品磨损、破损等破坏问题的；
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （4）、产品（非人员损坏）出现起泡，脱胶的；
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （5）、产品（未穿着）出现表面渗胶或脱胶严重的；
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （6）、下单尺寸与成衣尺寸不符合；（国标正负差除外）
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    <span style="font-family: 宋体; color: inherit;">
                        （7）、上下装色差低于3级的。
                    </span>
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-size: 14px; font-family: 宋体; color: inherit;">
                    三个月内，服装需做局部尺寸调整的，xx定制免费帮您调整。在以下情况收费服务（7-20工作日内完成）
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    （1）、体型变化不合身的；
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    （2）、人为原因，洗涤不当（服装机洗、水洗、漂洗）磨损，损坏的；
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    （3）、在生产过程中，或交完货后，重新更换面料，更改款式的；
                </span>
            </p>
            <p style="color: inherit;">
                <span style="font-family: 宋体; font-size: 14px; color: inherit;">
                    （4）、返修后客户不满意，继续返修或重做的。
                </span>
            </p>
            <section data-id="1483" class="v3editor">
                <section data-id="1923" class="v3editor">
                    <p style="text-align: right;height:56px; color: inherit;background:url(/smfs/Public/home/images/1484640250022048871.png) repeat-x bottom">
                        <img src="/smfs/Public/home/images/1484640671792034927.png" style="float: right;vertical-align:bottom;">
                    </p>
                </section>
            </section>
            <p style="text-align: center; color: inherit;">
                <br>
            </p>
        </div>
   </div>
   
<!-- 提交预定信息 -->
  <div class="printerManualsBox js_printerManualsBox" id="smallLoginPage">
      <div class="printerManuals newsPriceBox" style="width:500px;height:420px;margin-left:-300px;margin-top:-150px;">
        <div class="patternCloseBtn"><a href="javascript:;" class="indexLogInBtn colorRed js_gb" >关闭</a></div>
            <div style="height: 50px;text-align: center;font-size: 16px;line-height: 50px;">
                提交预定信息
            </div>
            <form class="layui-form" method="post">
                <div style="text-align: center;">
                      <li style="height: 50px;">
                        联系人：<input type="text" name="name" required  lay-verify="required" placeholder="请输入您的姓名" style="padding: 5px;">
                      </li>
                      <li style="height: 50px;">
                        手机号：<input type="text" name="phone" required  lay-verify="required" placeholder="请输入您的手机号码" style="padding: 5px;">
                      </li>
                      <li style="height: 50px;">
                        验证码：<input type="text" name="yzm" required  lay-verify="required" placeholder="请输入您的手机验证码" style="padding: 5px;">
                      </li>
                      <li style="height: 30px;">
                        数量：<a id="jian" style="padding: 5px;">- </a>
                              <input type="text" name="num" value="1" style="padding: 5px;width: 20px;">
                              <a id="jia" style="padding: 5px;"> +</a>
                      </li>
                      <li style="height: 30px;">
                        价格：￥<span id="g_price" style="padding: 0 5px;"><?php echo ($good["shop_price"]); ?></span>
                      </li>

                      <a href="javascript:void(0);" id="getCode" onclick="get_mobile_valid();" style="position: absolute;right: 60px;top: 101px;background: #EBA524;padding: 5px;color: #fff;font-size: 10px;border-radius: 5px;">获取验证码</a>

                      <span style="display: block;">货号：<?php echo ($good["goods_id"]); ?> &nbsp; &nbsp;&nbsp; &nbsp;分类：<?php echo res_catname($good['cat_id']) ?></span>
                      <span style="display: block;">商品名称：<?php echo ($good["goods_name"]); ?></span>
                      <span><?php echo ($good["goods_desc"]); ?></span>
                     
                      <li style="margin-top: 10px;">

                        <input type="hidden" name="price" value="<?php echo ($good["shop_price"]); ?>">
                        <input type="hidden" name="goods_id" value="<?php echo ($good["goods_id"]); ?>">
                        <input type="hidden" name="cat_id" value="<?php echo ($good["cat_id"]); ?>">
                        <input type="hidden" name="goods_name" value="<?php echo ($good["goods_name"]); ?>">

                        <button lay-submit lay-filter="*" style="background-color: #eba524;width: 100px;height: 40px;border:0px;color:#fff;border-radius: 5px;">立即预定</button>
                      </li>
                      <span style="padding: 10px 0;color: red;font-size: 8px;display: block;">备注：更详细的参数请跟量体师沟通</span>
                </div>
            </form>
      </div>
  </div>

<!-- 提交评论 -->
  <div class="printerManualsBox" id="pinglun">
      <div class="printerManuals newsPriceBox" style="width:500px;height:420px;margin-left:-300px;margin-top:-150px;">
        <div class="patternCloseBtn"><a href="javascript:;" class="indexLogInBtn colorRed js_gb" >关闭</a></div>
            <div style="height: 50px;text-align: center;font-size: 16px;line-height: 50px;">
                提交评论
            </div>
            <form class="layui-form" method="post">
                <div style="text-align: center;">
                      <li style="height: 50px;">
                        评论人姓名：<input type="text" name="nick"  placeholder="请输入您的姓名" style="padding: 5px;">
                      </li>
                      <li style="height: 50px;">
                        手机或邮箱：<input type="text" name="ph_em" placeholder="请输入您的手机号/邮箱" style="padding: 5px;">
                      </li>
                      <li>
                        评论的内容： <textarea name="content" cols="25" rows="10">请输入您的评论</textarea> 
                      </li>

                      <li style="margin-top: 10px;">
                        <input type="hidden" name="goods_id" value="<?php echo ($good["goods_id"]); ?>">
                        <input type="hidden" name="cat_id" value="<?php echo ($good["cat_id"]); ?>">
                        <input type="hidden" name="goods_name" value="<?php echo ($good["goods_name"]); ?>">

                        <button lay-submit lay-filter="comm" style="background-color: #eba524;width: 100px;height: 40px;border:0px;color:#fff;border-radius: 5px;">提交评论</button>
                      </li>
                      <span style="padding: 10px 0;color: red;font-size: 8px;display: block;">备注：评论信息需经过平台审核方能显示</span>
                </div>
            </form>
      </div>
  </div>

<!-- 预定弹窗 -->
<script type="text/javascript">
$(function(){
// 点击登录出现弹框
$(document).on('click','.js_smallLoginBtn',function(){
  $('#smallLoginPage').css({'display':'block'})
})

// 点击关闭弹框
$(document).on('click','.js_gb',function(){
  $('#smallLoginPage').css({'display':'none'})
})

// 点击评论出现弹框
$(document).on('click','.js_pinglun',function(){
  $('#pinglun').css({'display':'block'})
})

// 点击关闭弹框
$(document).on('click','.js_gb',function(){
  $('#pinglun').css({'display':'none'})
})

//加一
$("#jia").click(function(event) {
    var one = $('input[name="num"]').val();
    one++;
    $('input[name="num"]').val(one);
    //价格乘以几
    var price = $('input[name="price"]').val();
    var two = price*one;
    $("#g_price").html(two);
});
//减一
$("#jian").click(function(event) {
    var one = $('input[name="num"]').val();
    if (one == 1) {
           one = 1;
        }else {
            one--;
        };
    $('input[name="num"]').val(one);
    //价格乘以几
    var price = $('input[name="price"]').val();
    var two = price*one;
    $("#g_price").html(two);
});


})
</script>

<script type="text/javascript">
    layui.use(['form','layedit'], function(){
      var layer = layui.layer
      ,layedit = layui.layedit
      ,form = layui.form();
      //layer.msg('Hello World');

    form.on('submit(*)', function(data){
        $.ajax({
            url: "<?php echo U('home/good/add');?>",//请求地址
            type: "post",//请求方式
            dataType: "json",//返回数据类型
            data: data.field,//发送的参数
            })
            .done(function(response) {
                  if(response.error==0){
                     layer.msg(response.info ,{icon:5});
                  }else{
                     layer.msg(response.info ,{icon:6});
                     location.reload();
                  }
              })
            .fail(function() {
                alert("ajxs交互失败");
            })  

          return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
        });  

    //comm
    form.on('submit(comm)', function(data){
        $.ajax({
            url: "<?php echo U('home/good/comm');?>",//请求地址
            type: "post",//请求方式
            dataType: "json",//返回数据类型
            data: data.field,//发送的参数
            })
            .done(function(response) {
                  if(response.error==0){
                     layer.msg(response.info ,{icon:5});
                  }else{
                     layer.msg(response.info ,{icon:6});
                     location.href = response.url;
                  }
              })
            .fail(function() {
                alert("ajxs交互失败");
            })  

          return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
        });  

    //点击异步 dian赞
    $('.dzan').click(function(){   
        obj = $(this);
        zan = $(this).attr('zan');
        //alert(zan);
        $.ajax({
            url: "<?php echo U('home/good/dianzan');?>",//请求地址
            type: "post",//请求方式
            dataType: "json",//返回数据类型
            data: {zan:zan},//发送的参数
            })
            .done(function(response) {
                  if(response.error==0){
                     layer.msg(response.info ,{icon:5});
                  }else{
                    layer.msg(response.info ,{icon:6});
                    obj.children('.rezan').html(response.zan);
                  }
              })
            .fail(function() {
                alert("ajxs交互失败");
            })  
          return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
        });  

    });

    /*发送短信验证码*/
    function get_mobile_valid(){
        layer.confirm('确认要发送吗？',function(index){
            //发异步删除数据
            var to = $('input[name="phone"]').val();
            $.ajax({
                url: "<?php echo U('home/good/send_to');?>",//请求地址
                type: "post",//请求方式
                dataType: "json",//返回数据类型
                data: {to:to},//发送的参数
                })
                .done(function(response) {
                      if(response.error==1){
                        layer.msg(response.info ,{icon:6});
                      }else{
                        layer.msg(response.info ,{icon:5});
                      }
                  })
                .fail(function() {
                    alert("ajxs交互失败");
                })  
            return false;
        });
    }
</script>

</body>

</html>